<?php
// +----------------------------------------------------------------------
// | quanli team
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2020 http://www.fistforward.com/ All rights reserved.
// +----------------------------------------------------------------------
// | create by allen.qiang
// +----------------------------------------------------------------------


/**
 * 会员等级操作功能
 * @package  htdocs
 * @subpackage  quanliadmin
 * create by allen.qiang
 */

quanli_require('module/base/customer/custRank.class.php');

class pa_customerRank {

	//入口
	public function execute() {

        if (isset($_REQUEST['operFlg']) && $_REQUEST['operFlg'] > 0) {

            switch ($_REQUEST['operFlg']){
                case 1:
                    $this->init();
                    break;
                default:
                    backendError();
                    break;
            }

        } else {

            backendError();

        }


	}

    /**
     * 页面初始化
     */
    private function init() {

		global $G_PGLOB;

        $G_PGLOB->smarty->assign('edit_permission', $G_PGLOB->has_permission(3004));

		$G_PGLOB->smarty->display('customer/customerRankList.tpl');

	}

}